<form action="{'Config/index'|U}" method="POST"  onsubmit="return false">
<input type="hidden" name="type" value="app">
{wz action="save,reset"}
<div class="add_box">
<table cellspacing="0" border="0" cellpadding="0" class="add_table" >
    <tbody>
    <tr><th colspan="4">{$lang.app_config_title}</th></tr>
     <td width="20%">{$lang.decimal_length}：</td>
     <td width="30%" class="t_left">
  		{$lang.price}<input type="text" name="price_length" maxlength="1" value="{C('PRICE_LENGTH')}" class="spc_input" style="width:80px!important;">；
 		{$lang.money}<input type="text" name="money_length" maxlength="1" value="{C('MONEY_LENGTH')}" class="spc_input" style="width:80px!important;">；
 		{$lang.cube}<input type="text" name="cube_length" maxlength="1" value="{C('CUBE_LENGTH')}" class="spc_input" style="width:80px!important;">
     </td>
    <td width="20%">{$lang.storage_zero}：</td>
    <td class="t_left">{radio data=C('YES_NO') name="storage_zero" value=C('STORAGE_ZERO')}</td>
     </tr>
    <tr> 
   <td>{$lang.barcode}：</td>
      <td class="t_left">{radio data=C('YES_NO') name="barcode" value=C('BARCODE')}</td> 
    </td>
   
      <td>{$lang.price_default}：</td>
		<td class="t_left">
		<input type="radio" name="price_default" value="1" {if C('PRICE_DEFAULT')==1}checked{/if}>
            {$lang.price_default_v_1}
              <input type="radio" name="price_default" value="2" {if C('PRICE_DEFAULT')==2}checked{/if}>
            {$lang.price_default_v_2}
            <input type="radio" name="price_default" value="3" {if C('PRICE_DEFAULT')==3}checked{/if}>
            {$lang.price_default_v_3}
          </td>
     </tr>
    <tr>
    <td>{$lang.multi_client}：</td>
    <td class="t_left">{radio data=C('YES_NO') name="multi_client" value=C('MULTI_CLIENT')}</td>
     <td>{$lang.add_max_row}：</td>
     <td class="t_left"><input type="text" name="add_max_row" value="{C('ADD_MAX_ROW')}" class="spc_input"></td>
    </tr>
    <tr>
    <td>{$lang.show_guide}：</td>
	<td class="t_left">{radio data=C('YES_NO') name="show_guide" value=C('SHOW_GUIDE')}</td>
	<td>{$lang.line_number}：</td>
	<td class="t_left"><input type="text" class="spc_input" id="line_number" name="line_number" value="{if C('LINE_NUMBER')>0}{C('LINE_NUMBER')}{else}20{/if}"></td>
    </tr> 
      <tr>
    <td>{$lang.product_fit_rows}：</td>
	<td class="t_left"><input type="text" class="spc_input" id="line_number" name="fit_max_row" value="{if C('FIT_MAX_ROW')>0}{C('FIT_MAX_ROW')}{else}7{/if}"></td>
	<td>{$lang.product_fit_cols}：</td>
	<td class="t_left"><input type="text" class="spc_input" id="line_number" name="fit_max_cols" value="{if C('FIT_MAX_COLS')>0}{C('FIT_MAX_COLS')}{else}7{/if}"></td>
    </tr> 
    <tr><th colspan="4">{$lang.remind_set_info}</th></tr>
   	<tr>
	    <td {if C('REMIND_ORDER')==0} class="none" {/if} >{$lang.remind_order}：</td>
		<td {if C('REMIND_ORDER')==0} class="none" {/if} class="t_left">{$lang.remind_order_title}<input type="text" class="spc_input" id="line_number" name="remind_value_order" value="{if C('REMIND_VALUE_ORDER')>0}{C('REMIND_VALUE_ORDER')}{else}0{/if}" >&nbsp;{$lang.remind_day}</td>
		<td {if C('REMIND_INSTOCK')==0} class="none" {/if} >{$lang.remind_instock}：</td>
		<td {if C('REMIND_INSTOCK')==0} class="none" {/if} class="t_left">{$lang.remind_instock_title}<input type="text" class="spc_input" id="line_number" name="remind_value_instock" value="{if C('REMIND_VALUE_INSTOCK')>0}{C('REMIND_VALUE_INSTOCK')}{else}0{/if}">&nbsp;{$lang.remind_day}</td> 
    </tr>
    <tr>
	    <td {if C('REMIND_PREDELIVERY')==0} class="none" {/if} >{$lang.remind_predelivery}：</td>
		<td {if C('REMIND_PREDELIVERY')==0} class="none" {/if} class="t_left">{$lang.remind_predelivery_title}<input type="text" class="spc_input" id="line_number" name="remind_value_predelivery" value="{if C('REMIND_VALUE_PREDELIVERY')>0}{C('REMIND_VALUE_PREDELIVERY')}{else}0{/if}">&nbsp;{$lang.remind_day}</td>
		<td {if C('REMIND_DELIVERY')==0} class="none" {/if} >{$lang.remind_delivery}：</td>
		<td {if C('REMIND_DELIVERY')==0} class="none" {/if}  class="t_left">{$lang.remind_delivery_title}<input type="text" class="spc_input" id="line_number" name="remind_value_delivery" value="{if C('REMIND_VALUE_DELIVERY')>0}{C('REMIND_VALUE_DELIVERY')}{else}0{/if}">&nbsp;{$lang.remind_day}</td> 
    </tr>
    <tr>
	    <td {if C('REMIND_CLIENT')==0} class="none" {/if} >{$lang.remind_client}：</td>
		<td {if C('REMIND_CLIENT')==0} class="none" {/if} class="t_left">{$lang.remind_client_title}<input type="text" class="spc_input" id="line_number" name="remind_value_client" value="{if C('REMIND_VALUE_CLIENT')>0}{C('REMIND_VALUE_CLIENT')}{else}0{/if}">&nbsp;{$lang.remind_day}</td>
		<td {if C('REMIND_FACTORY')==0} class="none" {/if} >{$lang.remind_factory}：</td>
		<td {if C('REMIND_FACTORY')==0} class="none" {/if} class="t_left">{$lang.remind_factory_title}<input type="text" class="spc_input" id="line_number" name="remind_value_factory" value="{if C('REMIND_VALUE_FACTORY')>0}{C('REMIND_VALUE_FACTORY')}{else}0{/if}">&nbsp;{$lang.remind_day}</td> 
    </tr>
    <tr>
    	<td {if C('REMIND_LOGISTICS')==0} class="none" {/if} >{$lang.remind_logistics}：</td>
		<td {if C('REMIND_LOGISTICS')==0} class="none" {/if} class="t_left">{$lang.remind_logistics_title}<input type="text" class="spc_input" id="line_number" name="remind_value_logistics" value="{if C('REMIND_VALUE_LOGISTICS')>0}{C('REMIND_VALUE_LOGISTICS')}{else}0{/if}">&nbsp;{$lang.remind_day}</td> 
	    
    </tr>
    <tr><th colspan="4">{$lang.config_email}</th></tr>
    <tr>
    	<td>{$lang.email}：</td>
		<td class="t_left"><input type="text" class="spc_input"  name="email_adder" value="{C('email_adder')}" >(name@domain.com)</td> 
	    <td>{$lang.user_pwd}：</td>
		<td class="t_left"><input type="text"  class="spc_input"  name="email_password" value="{C('email_password')}">(password)</td> 
	</tr>
	<tr>
		<td>Host：</td>
		<td class="t_left"><input type="text" class="spc_input"  name="email_host" value="{C('email_host')}" >(mail.yourdomain.com)</td> 
	    <td>Port：</td>
		<td class="t_left"><input type="text"  class="spc_input"  name="email_port" value="{C('email_port')}">(25)</td> 
	</tr>
	<tr>	
		<td>{$lang.config_email_title}：</td>
		<td class="t_left"><input type="text" class="spc_input"  name="email_title" value="{C('email_title')}" >(友拓通)</td> 
	    <td>&nbsp;</td>
	    <td>&nbsp;</td>
    </tr>
    </tbody>
  </table>
    </div>
  </form>
